package com.study.talk.module.netty.message.request;

import com.study.talk.module.netty.message.MessageType;
import com.study.talk.module.netty.message.TalkMessage;
import io.swagger.annotations.ApiModelProperty;
import lombok.AllArgsConstructor;
import lombok.Data;
import lombok.NoArgsConstructor;

/**
 * 添加请求
 */
@Data
@AllArgsConstructor
@NoArgsConstructor
public class AddUserRequest extends TalkMessage {

    @ApiModelProperty("本人id")
    private Integer userId;

    @ApiModelProperty("添加好友id")
    private Integer addUserId;

    @Override
    public byte getType() {
        return MessageType.ADD_USER_REQUEST;
    }
}
